package com.booksystem.campuslibrarymanagementsystem.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("收藏表")
@TableName("favorites_table")
public class FavoritesTable {
    @ApiModelProperty("收藏id")
    private int favoriteid;

    @ApiModelProperty("账户id")
    private String account;

    @ApiModelProperty("图书id")
    private int bookid;

    @ApiModelProperty("图书名称")
    private String title;

    @ApiModelProperty("作者")
    private String author;

    @ApiModelProperty("图书类别")
    private String category;
}
